import React from 'react'

import { Link } from "react-router-dom";
class Main extends React.Component {
    render() {
        return (
            <div>
                我是 main
                <Link to="/main/a">嵌套路由</Link>
                <hr />
                {this.props.children}
            </div>
        )
    }
}


export default Main